﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Win.master" AutoEventWireup="true" CodeBehind="ChangePassword.aspx.cs" Inherits="Runda.EShop.SaaS.SysManage.ChangePassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHeader" runat="server">
    <script type="text/javascript">
    function CheckOnSave() {
        if ($('#<%=txtNewPwd.ClientID %>').val() == '') {
            alert('请输入新密码');
            return false;
        }
        if ($('#<%=txtConfirmPwd.ClientID %>').val() == '') {
            alert('请输入确认密码');
            return false;
        }
    }
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMain" runat="server">
    <table cellSpacing="3" cellPadding="3" align="center" width="100%">
		<tr height="25">
			<td>帐号</td>
			<td><asp:TextBox id="txtAccount" CssClass="InputEnabled" readonly="true" runat="server"></asp:TextBox></td>
		</tr>
		<tr height="25">
			<td>用户姓名</td>
			<td><asp:TextBox id="txtUserName" CssClass="InputEnabled" readonly="true" runat="server"></asp:TextBox></td>
		</tr>
		<tr height="25">
			<td>新密码</td>
			<td><asp:TextBox id="txtNewPwd" runat="server" req="1" maxlength="50" TextMode="Password"></asp:TextBox></td>
		</tr>
		<tr height="25">
			<td>确认新密码</td>
			<td><asp:TextBox id="txtConfirmPwd" runat="server" req="1" maxlength="50" TextMode="Password"></asp:TextBox></td>
		</tr>
		<tr>
			<td colSpan="2" align="center" class="gridbtnCenter">
                <asp:LinkButton ID="lnkbtnSave" runat="server" 
                    OnClientClick="return CheckOnSave();" onclick="lnkbtnSave_Click">保存</asp:LinkButton>
                <asp:LinkButton ID="lnkbtnClose" runat="server" OnClientClick="parent.$.ligerDialog.hide();">关闭</asp:LinkButton>
            </td>
		</tr>
</table>
</asp:Content>
